package com.wang.admin.controller;

import com.wang.admin.api.model.AdChannelDTO;
import com.wang.admin.api.model.AdChannelLabel;
import com.wang.admin.service.AdChannelLabelService;
import com.wang.common.model.dto.ResponseResult;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

/**
 * 标签-频道管理接口
 *
 * @author WN
 * @date：2024/03/06 18:16
 */
@RestController
@RequestMapping("/api/v1/channel")
@RequiredArgsConstructor
public class AdChannelLabelController {

    private final AdChannelLabelService adChannelLabelService;

    @GetMapping("del/{id}")
    public ResponseResult delete(){
        return null;
    }

    @PostMapping("/api/add")
    public void add(@RequestBody AdChannelLabel adChannelLabel){
        adChannelLabelService.add(adChannelLabel);
    }

}
